
class Point(tuple):
    def __init__(self):
        self.x=self[0]
        self.y=self[1]

    @classmethod
    def distance(cls,p1,p2):
        d_x=p1.x-p2.x
        d_y=p1.y-p2.y
        return (d_x**2+d_y**2)**0.5

    @classmethod
    def judge(cls,p1,p2,p3):
        side1=cls.distance(p1,p2)
        side2=cls.distance(p2,p3)
        side3=cls.distance(p3,p1)
        sides=[side1,side2,side3]
        sides.sort()
        if sides[0]+sides[1] <= sides[2]:
            return 'Error'
        if sides[0]**2+sides[1]**2 == sides[2]**2:
            return 'Right'
        elif sides[0]**2+sides[1]**2 < sides[2]**2:
            return 'Obtuse'
        else:
            return 'Acute'

